/**
 * 通用热门推荐类型
 * @param url 请求地址
 * @param data 请求参数
 */

import type { HotParams } from "@/types/global";
import type { HotResult } from "@/types/hot";
import { http } from "@/utils/http";

export const getHotRecommendApi = (url: string, data: HotParams) => {
  return http<HotResult>({
    method: 'GET',
    url,
    data
  })
}